import tg from "./title-tg";
import cjl from "./title-cjl";
import xjl from "./title-xjl";
import gjyc from "./title-gjyc";
import gjhj from "./title-gjhj";
import gjjxlj from "./title-gjjxlj";
import chl from "./title-chl";
import sn from "./title-sn";
import snhntphb from "./title-snhntphb";
import snsjphb from "./title-snsjphb";
import jkdj from "./title-jkdj";
import yj from "./title-yj";
import ljlmhtwc from "./title-ljlmhtwc";
import yhhsnsj from "./title-yhhsnsj";
import yhhsnhnt from "./title-yhhsnhnt";
/** 查询报表名称 */
export function getReportName(syTypeId) {
  let name = "";
  switch (syTypeId) {
    case 2: // 土工
      name = "tgtb";
      break;
    case 4: // 粗集料
      name = "cjl";
      break;
    case 5: // 细集料
      name = "xjl";
      break;
    case 6: // 矿粉
      name = "kf";
      break;
    case 8: // 岩石
      name = "ysbg";
      break;
    case 12: // 水泥混凝土拌合物试验
      name = "snhntbhw";
      break;
    case 13: // 硬化后水泥混凝土试验
      name = "snhntbhw";
      break;
    case 14: // 水泥混凝土配合比试验
      name = "snhntbhw";
      break;
    case 15: // 水泥砂浆拌合物试验
      name = "sjnjsj";
      break;
    case 16: // 硬化后水泥砂浆试验
      name = "sjnjsj";
      break;
    case 17: // 水泥砂浆配合比试验
      name = "sjnjsj";
      break;
    case 10: // 水泥试验
      name = "sn";
      break;
    case 67: // 沥青混合料试验
      name = "lqhhl";
      break;
    case 69: // 压浆材料试验
      name = "yj";
      break;
    case 25: // 钢筋原材试验
      name = "gc";
      break;
    case 136: // 钢筋焊接试验
      name = "gc";
      break;
    case 137: // 钢筋机械连接试验
      name = "gc";
      break;
    case 22: // 粉煤灰试验（掺合料）
      name = "chl";
      break;
    case 23: // 无机结合料试验
      name = "wjjhl";
      break;
    case 140: // 水稳基层配合比试验 - 用无机结合料
      name = "wjjhl";
      break;
    case 33: // 隧道检测试验
      name = "sdj";
      break;
    case 31: // 基坑、地基与桩基试验
      name = "jkdj";
      break;
    case 27: // 路基路面试验
      name = "ljlm";
      break;
    case 129: // 路面构造深度试验
      name = "ljlm";
      break;
    case 130: // 路面厚度试验
      name = "ljlm";
      break;
    case 131: // 路基路面压实度试验
      name = "ljlm";
      break;
    case 132: // 路基路面平整度试验
      name = "ljlm";
      break;
    case 133: // 路面摩擦系数试验
      name = "ljlm";
      break;
    case 134: // 路基路面渗水系数试验
      name = "ljlm";
      break;
    case 135: // 路基路面回弹弯沉试验
      name = "ljlm";
      break;
    case 21: // 石灰试验
      name = "sh";
      break;
    case 139: // 沥青混合料配合比试验
      name = "lqhhl";
      break;
    case 30: // 混凝土结构试验
      name = "hntjg";
      break;
    case 65: // 改性沥青
      name = "lqngx";
      break;
    case 149: // 乳化沥青
      name = "lqnrh";
      break;
    case 148: // 道路沥青
      name = "lqndl";
      break;
  }
  return name;
}
/** 查询报告标题 */
export function getReportTitle(syTypeId) {
  let reportTitle = [];
  switch (syTypeId) {
    case 2: // 土工
      reportTitle = tg;
      break;
    case 4: // 粗集料
      reportTitle = cjl;
      break;
    case 5: // 细集料
      reportTitle = xjl;
      break;
    case 6: // 矿粉
      reportTitle = "kf";
      break;
    case 8: // 岩石
      reportTitle = "ysbg";
      break;
    case 12: // 水泥混凝土拌合物试验
      reportTitle = "snhntbhw";
      break;
    case 13: // 硬化后水泥混凝土试验
      reportTitle = yhhsnhnt;
      break;
    case 14: // 水泥混凝土配合比试验
      reportTitle = snhntphb;
      break;
    case 15: // 水泥砂浆拌合物试验
      reportTitle = "sjnjsj";
      break;
    case 16: // 硬化后水泥砂浆试验
      reportTitle = yhhsnsj;
      break;
    case 17: // 水泥砂浆配合比试验
      reportTitle = snsjphb;
      break;
    case 10: // 水泥试验
      reportTitle = sn;
      break;
    case 65: // 改性沥青试验
      reportTitle = "lqsdjl";
      break;
    case 67: // 沥青混合料试验
      reportTitle = "lqhhl";
      break;
    case 69: // 压浆材料试验
      reportTitle = yj;
      break;
    case 25: // 钢筋原材试验
      reportTitle = gjyc;
      break;
    case 136: // 钢筋焊接试验
      reportTitle = gjhj;
      break;
    case 137: // 钢筋机械连接试验
      reportTitle = gjjxlj;
      break;
    case 22: // 粉煤灰试验（掺合料）
      reportTitle = chl;
      break;
    case 23: // 无机结合料试验
      reportTitle = "wjjhl";
      break;
    case 140: // 水稳基层配合比试验 - 用无机结合料
      reportTitle = "wjjhl";
      break;
    case 33: // 隧道检测试验
      reportTitle = "sdj";
      break;
    case 31: // 基坑、地基与桩基试验
      reportTitle = jkdj;
      break;
    case 27: // 路基路面试验
      reportTitle = "ljlm";
      break;
    case 129: // 路面构造深度试验
      reportTitle = "ljlm";
      break;
    case 130: // 路面厚度试验
      reportTitle = "ljlm";
      break;
    case 131: // 路基路面压实度试验
      reportTitle = "ljlm";
      break;
    case 132: // 路基路面平整度试验
      reportTitle = "ljlm";
      break;
    case 133: // 路面摩擦系数试验
      reportTitle = "ljlm";
      break;
    case 134: // 路基路面渗水系数试验
      reportTitle = "ljlm";
      break;
    case 135: // 路基路面回弹弯沉试验
      reportTitle = ljlmhtwc;
      break;
    case 21: // 石灰试验
      reportTitle = "sh";
      break;
    case 139: // 沥青混合料配合比试验
      reportTitle = "lqhhl";
      break;
    case 30: // 混凝土结构试验
      reportTitle = "hntjg";
      break;
    default:
      reportTitle = tg;
      break;
  }
  return reportTitle;
}
